<?php
/**
 * Created by PhpStorm.
 * User: 地瓜小筑
 * Date: 2017/8/15
 * Time: 14:24
 * 项目运行时，手动新增一个db.php的文件
 */

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2basic',
    'username' => 'root',
    'password' => '',
    'charset' => 'utf8',
];

